﻿@model CloudFranceTriple.Models.PollSet
@{
    ViewBag.Title = CloudFranceTriple.WebRole.Properties.Resources.PollDeleteTitle;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content-padding">
    <h1>
        @CloudFranceTriple.WebRole.Properties.Resources.PollDeleteTitle
    </h1>
    <section>
        <h3>@CloudFranceTriple.WebRole.Properties.Resources.QuestionDelete</h3>
        <fieldset>
            <legend>@CloudFranceTriple.WebRole.Properties.Resources.PollDeleteTitle</legend>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.PollLabel
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.LabelPoll)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.PollDescription
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.DescriptionPoll)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.PollCreationDate
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.CreationDatePoll,"TemplateUserDate")
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.PollOrder
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.OrderPoll)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.PollIsPublicPollResult
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.IsPublicPollResult)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.PollIsMemberOnlyPoll
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.IsMemberOnlyPoll)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.PollDurationInDays
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.DurationInDays)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.TopicLabel
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.ForumTopicSet.LabelForumTopic)
            </div>
        </fieldset>
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            <p>
                <input type="submit" value="@CloudFranceTriple.WebRole.Properties.Resources.ButtonDelete" />
            </p>
        }
        @Html.Partial("_PollBackToPostListByTopic")
    </section>
</div>
